package com.dashu.base.enums.common;

import java.util.HashMap;
import java.util.Map;

public enum GroupType {
    COMPANY("单位"),
    DEPARTMENT("部门"),
    CLS("组织"),
    PERSONAL("个人");


    private String name;

    GroupType(String name) {
        this.name = name;
    }

    public static final Map<String, GroupType> map = new HashMap<>();

    static {
        for (GroupType s : GroupType.values()) {
            map.put(s.name(), s);
        }
    }

}
